#!/usr/bin/env bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export PYTHONPATH=${DIR}/../../../../:${PYTHONPATH}
export PYTHONPATH=${DIR}/../../../../slim:${PYTHONPATH}
export PYTHONPATH=${DIR}/../../../:${PYTHONPATH}

DATA=/home/admins/data/people
pretrained=${DATA}
config=${DATA}/faster_rcnn_inception_v2_people.config

#python3 ${DIR}/../../../object_detection/export_inference_graph.py \
#--input_type image_tensor \
#--pipeline_config_path ${config} \
#--trained_checkpoint_prefix ${pretrained}/model.ckpt-77250 \
#--output_directory ${pretrained}/graph

#python3 ${DIR}/predict_large_images.py \
#--root ${DATA}/eval/origin \
#--output-root ${DATA}/eval/predict \
#--checkpoint ${DATA}/graph/frozen_inference_graph.pb \
#--label-file ${DATA}/people.pdtxt

python3 ${DIR}/two_model_eval/predict_large_image_two.py \
--model-center ${DATA}/models/frozen_inference_graph_fast_center_200000.pb \
--model-edge ${DATA}/models/frozen_inference_graph_fast_edge_160998.pb \
--image-root ${DATA}/test/9_11_test \
--output-root ${DATA}/test/9_11_test/res

